package com.example.abc.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Peter on 2018/5/8.
 */
@Configuration
public class RabbitConfig {
    @Bean
    public Queue logoutQueue() {
        return new Queue("logout");
    }

}
